package com.angel.core;

/**
 * 常量表
 * 
 * @author ShenHuaJie
 * @version $Id: Constants.java, v 0.1 2014-2-28 上午11:18:28 ShenHuaJie Exp $
 */
public interface Constants {
	/**
	 * 异常信息统一头信息<br>
	 * 非常遗憾的通知您,程序发生了异常
	 */
	public static final String Exception_Head = "OH,MY GOD! SOME ERRORS OCCURED! AS FOLLOWS :";
	/** 客户端语言 */
	public static final String USERLANGUAGE = "userLanguage";
	/** 客户端主题 */
	public static final String WEBTHEME = "webTheme";
	/** 当前用户 */
	public static final String CURRENT_USER = "CURRENT_USER";
	/** 在线用户数量 */
	public static final String ALLUSER_NUMBER = "ALLUSER_NUMBER";
	/** 登录用户数量 */
	public static final String USER_NUMBER = "USER_NUMBER";
	/** 上次请求地址 */
	public static final String PREREQUEST = "PREREQUEST";
	/** 上次请求时间 */
	public static final String PREREQUEST_TIME = "PREREQUEST_TIME";
	/** 非法请求次数 */
	public static final String MALICIOUS_REQUEST_TIMES = "MALICIOUS_REQUEST_TIMES";
	/** 缓存命名空间 */
	public static final String CACHE_NAMESPACE = "Angel:";

	/**
	 * 
	 * 项目编码
	 * 
	 * 
	 */
	/**体检库编号**/
	public static final String MEDICAL_CODE = "1116100000000";
	/**异常库编号**/
	public static final String EXCEPTION_CODE = "1116110000000";
	/** 客户编号**/
	public static final String USER_CODE = "111610000000";
	/**家庭编号**/
	public static final String FAMILY_CODE = "111620000000";
	/**公司编号**/
	public static final String COMPANY_CODE = "111630000000";
	/**预约编号**/
	public static final String RESERVE_CODE = "111660000000";
	/**套餐模版编号**/
	public static final String TEMPLATE_CODE = "111680000000";
	
	/** 会员信息**/
	public static final String CUSTOMERNUM = "01";
	/** 会员家庭**/
	public static final String CUSTOMERFANMILYNUM = "02";
	/** 会员预约**/
	public static final String CUSTOMERSERVICENUM = "03";
	
	/** 编码规则 省 市 年份 业务 id **/
	/** 业务编码 **/
	/** 体检套餐 **/
	public static final String HEALTH = "07";
	/** 服务套餐 **/
	public static final String SERVICE = "08";
	/** 加盟商 **/
	public static final String FRANCHISEE = "09";
	/** 体检库 **/
	public static final String MEDICAL = "10";
	/** 异常库 **/
	public static final String EXCEPTION = "11";
	/** 医师  **/
	public static final String DOCTOR = "12";
	/** 电子病例 **/
	public static final String CPR = "13";
	/** 健康报告 **/
	public static final String ASSESSMENT = "14";
	/** 体检报告 **/
	public static final String EXAMINATION = "15";
	
	
	/**
	 * 
	 * 短信接口
	 * 
	 */
	public static final String SEND_SMS_URL = "send.sms.url";// 短信接口地址
	public static final String SEND_SMS_SINGLE = "SendSingleSMS";
	public static final String SEND_SMS_USERNAME = "send.sms.username";
	public static final String SEND_SMS_PASSWORD = "send.sms.password";
	
	/**
	 * 
	 * 网易云信
	 * 
	 */
	public static final String WYYX_APP_URL="wyyx.app.url";
	public static final String WYYX_APP_KEY = "wyyx.appKey";//开发者平台分配的appkey
	public static final String WYYX_APP_SECRET = "wyyx.appSecret";//开发者平台分配的密码
	public static final String WYYX_APP_NONCE = "wyyx.nonce";
	public static final String WYYX_APP_CREATE_USER = "user/create.action";//创建云ID
	public static final String WYYX_APP_CREATE_TEAM = "team/create.action";//创建云ID
	public static final String WYYX_APP_REMOVE_TEAM = "team/remove.action";//解散云ID
	public static final String WYYX_APP_UPDATE_TEAM = "team/update.action";//编辑云ID
	public static final String WYYX_APP_UPDATE_USER = "user/updateUinfo.action";//编辑用户信息
	/**
	 * fastdfs
	 */
	public static final String FASTDFS_UTL = "fastdfs.url";
	
	/**
	 * 支付宝
	 */
	public static final String ZFB_PAY_KEY="zfb.payKey";
	public static final String ZFB_APPID="zfb.appid";
	
	/**
	 * 维信
	 */
	public static final String WEIXIN_APPID="weixin.appid";
	public static final String WEIXIN_MCHID="weixin.mchId";
	public static final String WEIXIN_KEY="weixin.key";
}
